package com.orchard.xpz.dao;

import com.orchard.xpz.entity.GardenPlot.GardenPlot;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GardenPlotDao {

    List<GardenPlot> getList(GardenPlot gardenPlot);

    int deleteByPrimaryKey(String gardenId);

    int insert(GardenPlot record);

    int insertSelective(GardenPlot record);

    GardenPlot selectByPrimaryKey(String gardenId);

    int updateByPrimaryKeySelective(GardenPlot record);

    int updateByPrimaryKey(GardenPlot record);
}